﻿using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.Skins;
using System.Windows.Forms;
using DevExpress.Demos.DemoCenter;

namespace DemoCenter {
    public class WinProgram {
        public void Run(string[] args) {
            DevExpress.Skins.SkinManager.EnableFormSkins();
            SkinManager.Default.RegisterSkin(new SingleSkinXmlCreator(new string[] { "tabheader.png", "tabpane.png" }, "Tab", "DemoCenter.skin.", typeof(Program).Assembly, null));
            SkinManager.Default.RegisterSkin(new SingleSkinXmlCreator(new string[] { "scrolldownbutton.png", "scrolldownbutton_glyph.png", "scrollupbutton.png", "scrollupbutton_glyph.png" }, "NavBar", "DemoCenter.skin.", typeof(Program).Assembly, null));
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain(args));
        }
    }
}
